import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import antd from 'ant-design-vue'
import i18n from '@/config/lang';
import piniaPersist from 'pinia-plugin-persistedstate'

import 'virtual:uno.css'
import 'ant-design-vue/dist/reset.css';
import './style'
import '@/assets/font_icon/iconfont.css'
const pinia = createPinia();
pinia.use(piniaPersist)


const app = createApp(App)
app.use(antd)
app.use(i18n)
app.use(pinia)
app.use(router)

app.mount('#app')
